<?php
/**
 +------------------------------------------------------------------------------
 * CatModel 数据对象映射类
 +------------------------------------------------------------------------------
 * @category   SubModel
 * @package  app
 * @subpackage  Model
 * @author   朝闻道 <hydata@gmail.com>
 * @date 2011-3-22
 * @time  下午04:25:31
 +------------------------------------------------------------------------------
 */
class CatModel extends Model{
	protected $_auto=array(
		array ('ctime', 'time', 1, 'function' ),
		array ('etime', 'time', 2, 'function' )
	);
		
	//自动验证
	protected $_validate = array (
		array ("type_name", "require", "标题必须！" ), 
	 );
}//end CatModel